<? if ($c = stack('name')) {

	$META['style'][] = 'dateinput';
	$META['style'][] = 'jquery.autocomplete';
	$META['style'][] = 'jquery.koatuudo';

	/* */

	$_magic = 'Не визначено';

	$temp = array();

//dbdebug();

	if ($t = datafetch_array('db_list', array('table' => 'cc_social_status', 'index' => 'id')))
		foreach($t as $id => $v)
			if ($v['name'] == $_magic)
				unset($t[$id]);
	$temp['socialstatus_id'] = $t;

	if ($t = datafetch_array('db_list', array('table' => 'cc_category', 'index' => 'id')))
		foreach($t as $id => $v)
			if ($v['name'] == $_magic)
				unset($t[$id]);
	$temp['category_id'] = $t;


	switch ($CONTEXT['lang']) { 
		case LANG_DEF:
				$temp['gender_id'] = array(
					'M' => 'чоловіча',
					'F' => 'жіноча',
				);
			 break;
		case 'ru':
				$temp['gender_id'] = array(
					'M' => 'мужской',
					'F' => 'женский',
				);
			  break;		 
	}


	$DATA['components'][$c]['data'] = $temp;



	unstack();
}